package team.cdlzz.dao;

import org.apache.ibatis.annotations.Mapper;
import team.cdlzz.model.pojo.Question;

import java.util.List;

@Mapper
public interface QuestionMapper {
    int deleteByPrimaryKey(Integer qid);

    int insert(Question record);

    int insertSelective(Question record);

    Question selectByPrimaryKey(Integer qid);

    int updateByPrimaryKeySelective(Question record);

    int updateByPrimaryKey(Question record);

    int insertList(List<Question> list);

    List<Question> selectBy();

}